package the_tenth_chapter;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;

public class NumberInput {

	public static void main(String[] args) {
		InputStreamReader is ;
		BufferedReader br;
		is = new InputStreamReader(System.in);
		//从键盘接收了一个字符串的输入，并创建一个字符输入流的对象
		br = new BufferedReader(is);
		try {
			String s = br.readLine();
			System.out.println("Input value is :" + s);
			int i = Integer.parseInt(s);
			i *= 2;
			System.out.println("Input value changed after doubled: " + i);
		} catch (IOException e) {
			e.printStackTrace();
		}
		
		Scanner input = new Scanner(System.in);
		String s = input.nextLine();
		System.out.println(s);
		
	}
}
